package game;

import java.io.Serializable;

import javax.persistence.*;

@Entity(name="Bet")
public class BetEntity implements Serializable
{
	private static final long serialVersionUID = 7675697987448912339L;

	private long playerID;
	private String position;
	private double amount;
	
	public BetEntity()
	{
		//no action
	}
	public BetEntity(long playerIDToPlace, String positionToPlace, double amountToPlace)
	{
		this.setPlayerID(playerIDToPlace);
		this.setPosition(positionToPlace);
		this.setAmount(amountToPlace);
	}
	public long getPlayerID() {
		return playerID;
	}
	public void setPlayerID(long playerID) {
		this.playerID = playerID;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	
}
